//
// Created by steven on 2017/2/28.
// Copyright (c) 2017 steven. All rights reserved.
//

#import "GMRedButton.h"


@implementation GMRedButton

- (id)init {
    self = [super init];
    if (self) {
        self.backgroundColor = BUTTON_RED_ACTIVE_COLOR;
    }

    return self;
}

- (void)setHighlighted:(BOOL)highlighted {
    [super setHighlighted:highlighted];

    if (highlighted) {
        self.backgroundColor = BUTTON_RED_HILIGHT_CLOLOR;
    }
    else {
        self.backgroundColor = BUTTON_RED_ACTIVE_COLOR;
    }
}
@end